<?php
class videoComponents extends sfComponents
{
	public function executeFrontendVideoBox()
	{
		$this->latest_video = VideoPeer::getLatestVideo();
		$this->related_list = VideoPeer::getListRelated($this->latest_video->getId());
	}
}